import type { RouteRecordRaw } from 'vue-router'

const router: RouteRecordRaw[] = [
  {
    path: '/news',
    component: () => import('../views/news/HomeView.vue'),
  },
  {
    path: '/news/:id',
    component: () => import('../views/news/DetailView.vue'),
  },
  {
    path: '/news/manage/',
    component: () => import('../views/news/MessageView.vue'),
  },
  {
    path: '/news/reply/:id',
    component: () => import('../views/news/ReplyView.vue'),
  },
]
export { router as newsRouter }
